package com.altekis.kanbankaze.shared.messages;

import java.io.Serializable;

import com.altekis.kanbankaze.shared.events.TrojanEvent;
import com.google.gwt.user.client.rpc.IsSerializable;
/**
 * A "trojan" message carries a hidden TrojanEvent, ready to be released and cause havoc!
 * @author lordkhizir
 *
 */
@SuppressWarnings("serial")
public class TrojanMessage extends Message implements Serializable, IsSerializable {
	@SuppressWarnings("rawtypes")
	private TrojanEvent event;
	@SuppressWarnings("rawtypes")
	public TrojanEvent getEvent() {
		return event;
	}
	public TrojanMessage() {
		super();
	}

	public TrojanMessage(@SuppressWarnings("rawtypes") TrojanEvent event) {
		this();
		this.event = event;
	}
}
